package com.msb.mall.mallcart.service;

import com.msb.mall.mallcart.vo.Cart;
import com.msb.mall.mallcart.vo.CartItem;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * @Auther: huangxiaode
 * @Date: 2023/3/16 0016 - 03 - 16 - 14:53
 * @Description: com.msb.mall.mallcart.service
 * @version: 1.0
 */
public interface ICartService {
    CartItem addCart(Long skuId, Integer num) throws ExecutionException, InterruptedException;

    Cart getCartList();

    List<CartItem> getUserCartItems();
}
